function out = f_spiral_classification(C,x_spiral,y_spiral)

for i=1:length(x_spiral)
    dist(i) = sqrt(   (C(1)-x_spiral(i)).^2 +   (C(2)-y_spiral(i)).^2 );
end
[Y minIndex] = min(dist);
out.class = minIndex;
